﻿
/* Profile styling: START
 -----------------------------------------------*/

/* reset */
#recentMatches div, #recentMatches ul, #recentMatches li, #recentMatches a, #recentMatches img, #recentMatches label, #recentMatches input, #recentMatches span, #recentMatches p
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;   
}
#userInfo div, #userInfo ul, #userInfo li, #userInfo a, #userInfo img, #userInfo label, #userInfo input, #userInfo span, #userInfo p
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;   
}
#ranking div, #ranking ul, #ranking li, #ranking a, #ranking img, #ranking label, #ranking input, #ranking span, #ranking p
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;   
}


	.listuserstable{		
        border-radius: 3px;	
        padding: 5px;
        width:100%;
	}		
			
	.listuserstable td {		
	    font-weight: 500;		
	 }


     .listuserstable td a {
        color:black;
        text-decoration: none;
        font-weight:bold;
        display: inline-block;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 3px;
        list-style: none;
        margin: 0;
        padding: 3px;
     }

    .listuserstable thead tr {
        background-color: #ffae00;
    }
	
			
	.listuserstable td a {
        color:black;		
        cursor: pointer;
        font-size: 1em;
        font-weight: 600;
        margin-right: 8px;
        width: auto;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 4px;
        padding: 4px;
        display:inline-block;
	}		
			
	.listuserstable td a:hover {		
        color:black;
        text-decoration: none;
        font-weight:bold;
        display: inline-block;
        background-color: #dfb353;
        border: 1px solid #a67100;
        border-radius: 3px;
        list-style: none;
        margin: 0;
        padding: 3px;
	}	

    .listuserstable tr:nth-child(even) {
        background-color: #ffefaa;
    }

/* for debugging purposes--START */
/* MyProfile view */
/*
.profileDivs
{
    border:solid 1px blue;
}

#recentMatches .filterNumberBox
{
    border:solid 1px red;
}    
*/
/* for debugging purposes--END */

/* MyProfile view */
#myProfile #recentMatches, #userInfo, #recentMatches, #ranking
{
    margin-bottom: 5px;
    margin-top: 10px;
}

.profileDivs
{
    float: left;
    width: 30%;
    margin-left: 1%;
    margin-right: 1%;
}

/* UserInfoPartial */
#userInfo
{
    padding-left: 1%;
    padding-right: 1%;
}

#userInfo .profileImg
{
    margin: 5% 0% 0% 3%;
    width: 45%;
    float:left;
}

#userInfo .profileImg > img
{
    width:100%;
}
#userInfo .profileImg > h4
{
    width:100%;
    text-align:center;
}
#userInfo .userReviews div, img, p
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;   
}
#userInfo .userReviews
{
    margin: 15% 0% 0% 0%;
    padding-left:5%;
    width: 45%;
    float:left;
}

#userInfo .userReviews img
{
    width:15%;
}

#userInfo .userDescription
{
    clear:both;
    
    margin-left:4%;
    margin-right:4%;
    text-align:justify;
}

#userInfo .userDescription p
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;
    display:block;
}
#userInfo .userDescription p:first-of-type
{
    visibility:hidden;
}

.profileDivs .link
{
    text-align:right;
}
.profileDivs .link > a 
{
    padding:0px;
    margin-bottom:0px;
    margin-right:0px;
    margin-top:0px;
    margin-left:0px;
}


/* MatchHistoryPartial */
#recentMatches 
{
    max-height:400px;
    min-height:50px;
    overflow:auto;
    overflow-x:hidden;
}

#recentMatches >:last-child
{
    margin-bottom: 3%;
} 

#recentMatches a
{
    color:grey;
}
#recentMatches a:link, a:visited, a:hover, a:active
{
    text-decoration:none;   
}

#recentMatches .filterNumberBox
{
    width:100%;
    margin-left: 71%;
}
#recentMatches label
{
    display:inline;
    font-size:smaller;
    vertical-align:central;
    margin-left:5px;
}
#recentMatches #numberOfInputField
{
    border: groove 2px gray;
    display:inline;
    width:10%;
    height:1.5em;
    font-size:12px;
    vertical-align:sub;
    margin-top:1%;
    margin-bottom:0px;
}

/* unvisited link */
#recentMatches a:link
{
    /*color:azure;
    background-color:#e2e2e2;*/
} 

/* mouse over link */
#recentMatches a:hover
{
    color:black;
    background-color:lightblue;
}  

#recentMatches > div
{
    width: 95%;
    margin-left: 5px;
    margin-right: 5px;
    margin-top:5px;
    padding-bottom:1%;
    padding-top:1%;
    background-color: #FFD373;
    border:2px solid #a67100;
    border-radius: 3px;
}

#recentMatches ul
{
    width: 64%;
    display:inline-block;
    vertical-align:middle;
    margin-left:3%;
    padding-left:0;
}

#recentMatches ul li
{
    margin-left:0;
    padding-left:0;
}

#recentMatches ul>:last-child
{
    font-size:smaller;
    margin-top: 3px;
    margin-bottom: 5px;
}

#recentMatches img
{
    width: 28%;
    max-width: 70px;
    vertical-align:middle;
    margin-left:2%;
    margin-right:0;
    padding-right:0;
}
/* Profile styling: END
 -----------------------------------------------*/

/*_GamesInNeedForPlayersPartial styling: START
 -----------------------------------------------*/
/*.emptyRoomList*/

/*_GamesInNeedForPlayersPartial styling: END
 -----------------------------------------------*/


/* ??Ranking styling: START
 -----------------------------------------------*/

/* #userRanking {
    width: 30%;
    float: left;
    margin-left:35%
}

#userRanking ul {
    border: double;
    list-style-type: none;
    padding: 0;
    margin: 0;       
    }
#userRanking ul li {
    margin: 10px;
    border: double;
    }
#userRanking ul img { 
    float: left;
    padding: 10px;
    width: 33%;
}

#userRanking p {
    margin-left: 35%;
}

#userRecentMatches {
    width: 35%;
    float: left;
    margin-left:-75%;
}

#userRecentMatches ul {
    border: double;
    list-style-type: none;
    padding: 0;
    margin: 0;    
}

#userRecentMatches ul li {
    margin: 10px;
    border: double;    
}

#userRecentMatches ul img {
    float: left;
    padding: 10px;
    width: 33%;    
}

#userRecentMatches p {
   margin-left: 35%;
}
    
#userInfo {
    width: 100%;
    float: right;
}

#userPic {
    width : 200px;
}

#userPic #avatar {
    max-width : 100%;
}*/
/* ??Ranking styling: END
 -----------------------------------------------*/
html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    border-top: solid 10px #000;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

a {
    color: rgb(128, 87, 0);
    outline: none;
    font-weight:bold;
    padding-left: 3px;
    padding-right: 3px;
}

    a:link, a:visited,
    a:active {
        color: rgb(128, 87, 0);
        text-decoration: none;
    }

    a:hover {
        color: #bf9230;
        text-decoration: underline;
    }

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: rgb(128, 87, 0);
    margin: 0.5em 0;
    padding: 0;
    font-family: "Smythe";
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 2em;
}

h4 {
    font-size: 1.8em;
}

h5, h6 {
    font-size: 1.5em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }


/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

#body {
    clear: both;
    padding-bottom: 35px;
}

    .main-content {
        padding-left: 10px;
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 300px;
    }

    .featured + .main-content {
    }

header {
    background: #ffae00;
    box-shadow: 0 0 10px;
}

header .content-wrapper {
    padding: 20px 10px;
    overflow:hidden;
}

footer {
    clear: both;
    background-color: #ffae00;
    font-size: 1.2em;
    height: 100px;
    box-shadow: 0 0px 10px;
    padding-top: 15px;
}

/* site title
----------------------------------------------------------*/
.site-title {
    color: white;
    font-family: "Sancreek", cursive;
    font-size: 3.5em;
    margin: 0;
}

.site-title a, .site-title a:active {
    background: none;
    color: white;
    outline: none;
    text-decoration: none;
}

.site-title a:hover {
    background: none;
    color: #f7f7f7;
    outline: none;
    text-decoration: none;
}


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        color:black;
        font-weight:normal;
        display: inline;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 3px;
        list-style: none;
        margin: 0;
        padding: 8px;
    }

    #login a.username {
        color:black;
        font-weight:normal;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 3px;
        margin: 0;
        padding: 8px;
        text-decoration: underline;
    }

    #logoutbutton {
        color:black;
        font-weight:normal;
        background-color: #ffd373;
        border: 1px solid #a67100;
        margin: 0;
        padding: 4px;
        text-decoration: underline;
    }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
        margin: 0;
        padding: 4px;
    }


/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 15px;
    padding: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            font-family: "Smythe", cursive;
            background: none;
            color: rgb(128, 87, 0);
            text-decoration: none;
        }

        ul#menu li a:hover {
            color: #bf9230;
            text-decoration: none;
        }


/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
    margin-top:10px;
}

    .featured .content-wrapper {
        background-color: #fff;
        /*background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);*/
        background-image:url(banner2.png);
        color: #3e5667;
        padding: 20px 40px 130px 40px;
    }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: #fff;
        }

        .featured p {
            font-size: 1.1em;
        }

div.message {
    background:#a6dbed;
    border-top:1px solid black;
    border-bottom:1px solid black;
    margin: 5px 0;
    padding: 10px;
}
div.message.error {
    background:#f00;
    color:white;
    font-weight:bold;
}

/* game room layout
----------------------------------------------------------*/

div#gameContainer {
    margin:10px 0;
    padding:10px;
    overflow:hidden;
    box-shadow: 0 0 10px;
}
div#gameWindow {
    width:74%;
    float:left;
    border-right:1px solid lightgrey;
    padding: 0 1% 0 0;
}
div#gameWindow h3 {
    font-size:1.5em;
}

div#playersWindow {
    width:23%;
    float:right;
    padding:0 0 0 1%;
}

div#gameButtons {
    width:23%;
    float:right;
    clear:right;
    padding:0 0 0 1%;
}

div#gameButtons button {
    margin:1em;
}

div.playerSlot {
    padding: 1em;
    border-bottom: 1px dotted grey;
}

div.playerSlot .currentUser {
    font-weight:bold;
}

/* game room layout END
----------------------------------------------------------*/

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 60%;
}

aside {
    float: left;
    width: 35%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

#gameStatistics table {
    border-collapse:collapse;
}

#gameStatistics table th tr {
    border:1px solid black;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 50%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

    #loginForm input[type="checkbox"],
    #loginForm input[type="submit"],
    #loginForm input[type="button"],
    #loginForm button {
        width: auto;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom:  5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox {
    display: inline;
}

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

    input[type="checkbox"] {
        background: transparent;
        border: inherit;
        width: auto;
    }

    input[type="submit"],
    input[type="button"],
    button {
        cursor: pointer;
        font-size: 1.2em;
        font-weight: 600;
        margin-right: 8px;
        width: auto;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 4px;
        padding: 8px;
    }

    td input[type="submit"],
    td input[type="button"],
    td button {
        font-size: 1em;
        padding: 4px;
        margin-right: 4px;
    }


#changepassword a{ 
        color:black;
        cursor: pointer;
        text-decoration: none;
        font-weight:bold;
        display: inline-block;
        background-color: #ffd373;
        border: 1px solid #a67100;
        border-radius: 3px;
        list-style: none;
        margin: 0;
        padding: 8px;
}


/* game types*/
.gametypes {
    /*width: 86%;*/
    border: 3px solid #a67100;
    border-radius: 5px;
    background: #ffd373;
    color: #333;
    margin: 5px 0px 0px 0px;
    padding: 15px;
    top: 0px;
}

.gametypes div {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding: 0px;
    margin: 0px;
    top: 0px;
}
.gametypes div h2, .gametypes div h5 {
    margin: 0px;
}
.gametypes div div {
    display: block;
    top: 0px;
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}
hgroup.title h1.error {
    display:block;
    text-align:center;
}

div.ErrorPage {
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
    }

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #000;
    }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}


/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

        #login a:hover {
            color: #333;
        }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

     /* features */
     section.feature {
        float: none;
        padding: 10px;
        width: auto;
     }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }
}

/* Gameroom*/
#playersWindow .playerSlot .playerMenu {
    font-size: 0.8em;
    position: absolute !important;
    z-index: 100;
}

#playersWindow .playerSlot {
    width: 180px;
}

#playersWindow .empty {
    cursor: pointer;
}

#playersWindow .playerSlot .userImage {
    max-width: 50px;
    max-height: 50px;
    padding: 2px;
    border: 2px solid #666;
}

/* Tic Tac Toe
    ----------------------------------------------------------*/
#TicTacToe #cells {
    float: left;
}

#TicTacToe #cells tbody tr td {
    font-family: Tahoma;
    margin: 0;
    padding: 0;
	height: 110px;
    width: 110px;
    text-align: center;
    vertical-align: middle;
    font-size: 80px;
    font-weight: bold;
}

#TicTacToe #cells tbody tr td:hover {
    cursor: pointer;
}

#TicTacToe #cells {
    border-collapse: collapse;
    border-style: hidden;
}

#TicTacToe #cells td {
    border: 1px solid black;
}

#TicTacToe #gameStatus {
    float: left;
}

#TicTacToe #difficultyBox {
    text-align: center;
}

#TicTacToe #gameStatus #showDifficulty {
    margin-top: -10px;
    margin-left: 110px;
    margin-bottom: 30px;
    font-weight: normal;
    font-size: 0.9em;
    text-align: center;
    padding: 4px;
    border: 1px solid #ccc;
    color: #555;
    width: 110px;
}

#TicTacToe #gameStatus #turn, #TicTacToe #gameStatus #dice {
    margin-left: 65px;
    text-align: center;
}

#TicTacToe #score {
    font-weight: bold;
    font-size: 1.5em;
    margin-left: 110px;
    margin-top: 20px;
    margin-bottom: 25px;
}

#TicTacToe #rematch {
    text-align: center;
    margin-left: 70px;
}



/*.playgame {
    background: url(playbutton.png) no-repeat top left;
    display: inline;
    width: 70px;
    height: 25px;
    text-indent: -9999px;
}*/

div#textBody {
    width:450px;
}

#openGames li {
    white-space:nowrap; 
}

#gameDescription, #screenshot, #gameRules, #gameDetails {
    padding:5px;
    margin:20px 5px;
}

#openGames {
    margin-left:30px;
    margin-right:-50px;
}

#gameStatistics {
    width:450px;
    margin:0px;
    margin-left:10px;
    overflow: hidden;
}

    #gameStatistics table {
        width: 100%;
    }

    #gameStatistics table caption {
        font-family: "Smythe";
        text-align:left;
        color: rgb(128, 87, 0);
        outline: none;
        font-weight:bold;
        font-size:2em;
    }

#stats {
    float:left;
    width:218px;
    margin-right:5px;
}

#stats tr {
}

#stats td {
}

#topPlayers tr {
}

#topPlayers tr {
}

#topPlayers {
    float:left;
    width:218px;
}
/*
.Fimbulfamb .playButton {
    position:relative;
    left:-28px;
}
*/
.playButton {
    padding-left:50px;
}

div.chatMessage {
    display: inline-block;
    width: 40%;
    margin-left:5%;
    vertical-align:top;
}
div.chatMessage input[type="text"] {
    width: 100%;
}
div.chatMessage input[type="button"] {
    float:right;
}

ul#discussion {
    display: inline-block;
    width: 45%;
    margin-left:5%;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

ul#medlimir li {
    list-style: none;
    font-size:1.5em;
}

ul#medlimir li#einar {
    font-family: "Swanky and Moo Moo";
}
ul#medlimir li#jon {
    font-family: "Nothing You Could Do";
}
ul#medlimir li#david {
    font-family: "Devonshire";
}
ul#medlimir li#linda {
    font-family: "Just Me Again Down Here";
}
ul#medlimir li#palli {
    font-family: "Yesteryear";
}
ul#medlimir li#eggert {
    font-family: "Monsieur La Doulaise";
}

p {
    margin: 0 0 0.5em;
}


/* game room tables */
.emptyRoomList, .emptyRoomList a, .emptyRoomList img 
{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    list-style:none;
    list-style-type:none;
    line-height:0;
    float:none;
       
}

.emptyRoomList a 
{

   float: right;
}

.emptyRoomList li {
    /*min-height:30px;*/
    background-color:#FFD373;
    margin:10px 0px 0px 0px;
    padding:5px 5px;
    vertical-align: central;
    list-style-position: inside;
    border:2px solid #a67100;
    border-radius: 3px;
}

.emptyRoomList img 
{
    padding-right:3px;
    vertical-align: middle;
}

/*****Style page sections margins *****/
/* index page */
body article 
{
    margin: 10px;
}